import Vue from "vue";
import VueRouter from "vue-router";

Vue.use(VueRouter);
export default new VueRouter({
  routes: [
    {
      path:'/info',
      component:() => import(/* webpackChunkName: "group-foo" */ '../pages/info/Info.vue'),
    },
    {
      path: '/square',
      component:() => import(/* webpackChunkName: "group-foo" */ '../pages/square/Square'),
    },
    {
      path:'/recommend',
      component:() => import(/* webpackChunkName: "group-foo" */ '../pages/recommend/Recommend.vue'),
    },
    {
      path:'/find',
      component:() => import(/* webpackChunkName: "group-foo" */ '../pages/find/Find.vue'),
    },
    {
      path:'/search',
      component:() => import(/* webpackChunkName: "group-foo" */ '../pages/search/Search.vue'),
    },
    {
      path: '/player',
      component:() => import(/* webpackChunkName: "group-foo" */ '../pages/common/player/Player'),
    },
    {
      path: '/login',
      component:() => import(/* webpackChunkName: "group-foo" */ '../pages/login/Login')
    },

  ]
})